<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  export default {
    name: 'app',
    created() {
      // vuex持久化
      window.addEventListener('load', () => {
        sessionStorage.removeItem('store')
      })
    },
  }
</script>

<style lang="stylus">
  @import '/assets/common'

  html, body
    height: 100%

  #app
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #515a6e;
    height: 100%;
</style>
